Pass the target list to the underlying dnd implementation, otherwise we
authorMatthias Clasen <mclasen@redhat.com>
Thu, 7 Apr 2005 03:55:13 +0000 (03:55 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 7 Apr 2005 03:55:13 +0000 (03:55 +0000)
2005-04-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source)
(gtk_tree_view_enable_model_drag_dest): Pass the target list
to the underlying dnd implementation, otherwise we miss the
target info in the drag-data-received signal.  (#164085, Jorn
Baayen)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/gtktreeview.c

index 27b74dac07c797c87f92437ab84809e03b883bd0..b98484f305a39d3399b5289903f7b27fab1e3d94 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,11 @@
 
        * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Document
        -1 as possible value.  
+       (gtk_tree_view_enable_model_drag_source) 
+       (gtk_tree_view_enable_model_drag_dest): Pass the target list 
+       to the underlying dnd implementation, otherwise we miss the 
+       target info in the drag-data-received signal.  (#164085, Jorn
+       Baayen)
 
 2005-04-06  Matthias Clasen  <mclasen@redhat.com>
 
index 27b74dac07c797c87f92437ab84809e03b883bd0..b98484f305a39d3399b5289903f7b27fab1e3d94 100644 (file)
@@ -2,6 +2,11 @@
 
        * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Document
        -1 as possible value.  
+       (gtk_tree_view_enable_model_drag_source) 
+       (gtk_tree_view_enable_model_drag_dest): Pass the target list 
+       to the underlying dnd implementation, otherwise we miss the 
+       target info in the drag-data-received signal.  (#164085, Jorn
+       Baayen)
 
 2005-04-06  Matthias Clasen  <mclasen@redhat.com>
 
index 27b74dac07c797c87f92437ab84809e03b883bd0..b98484f305a39d3399b5289903f7b27fab1e3d94 100644 (file)
@@ -2,6 +2,11 @@
 
        * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Document
        -1 as possible value.  
+       (gtk_tree_view_enable_model_drag_source) 
+       (gtk_tree_view_enable_model_drag_dest): Pass the target list 
+       to the underlying dnd implementation, otherwise we miss the 
+       target info in the drag-data-received signal.  (#164085, Jorn
+       Baayen)
 
 2005-04-06  Matthias Clasen  <mclasen@redhat.com>
 
index 0fbc970905a30d131b22f458e937315a0b698665..f037f28bf1c63f10d6ebb47d9ea23001e383282a 100644 (file)
@@ -11638,8 +11638,8 @@ gtk_tree_view_enable_model_drag_source (GtkTreeView              *tree_view,
 
   gtk_drag_source_set (GTK_WIDGET (tree_view),
                       0,
-                      NULL,
-                      0,
+                      targets,
+                      n_targets,
                       actions);
 
   di = ensure_info (tree_view);
@@ -11676,8 +11676,8 @@ gtk_tree_view_enable_model_drag_dest (GtkTreeView              *tree_view,
 
   gtk_drag_dest_set (GTK_WIDGET (tree_view),
                      0,
-                     NULL,
-                     0,
+                     targets,
+                     n_targets,
                      actions);
 
   di = ensure_info (tree_view);